import { PeriodicTaskDetailResolver } from './periodic-task-detail.resolver';
import { BirefApiService } from './../../api/biref-api.service';
import { PeriodTaskApiService } from './../../api/period-task-api.service';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { PeroidicTaskRoutingModule } from './peroidic-task-routing.module';

import { PeroidicTaskAdderComponent } from './peroidic-task-adder/peroidic-task-adder.component';
import { PeroidicTaskAddPageComponent } from './peroidic-task-add-page/peroidic-task-add-page.component';
import { PeroidicTaskDetailComponent } from './peroidic-task-detail/peroidic-task-detail.component';
import { PeroidicTaskOverviewComponent } from './peroidic-task-overview/peroidic-task-overview.component';
import { CommonUtilModule } from '../../common-util/common-util.module';


import { NzFormModule } from 'ng-zorro-antd/form';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzStatisticModule } from 'ng-zorro-antd/statistic';
import { NzListModule } from 'ng-zorro-antd/list';


@NgModule({
  declarations: [
    PeroidicTaskAdderComponent,
    PeroidicTaskAddPageComponent,
    PeroidicTaskDetailComponent,
    PeroidicTaskOverviewComponent
  ],
  imports: [
    CommonModule,
    ReactiveFormsModule,
    FormsModule,
    PeroidicTaskRoutingModule,
    CommonUtilModule,
    NzButtonModule,
    NzFormModule,
    NzInputModule,
    NzSelectModule,
    NzDatePickerModule,
    NzTagModule,
    NzInputNumberModule,
    NzMessageModule,
    NzTableModule,
    NzModalModule,
    NzPopconfirmModule,
    NzStatisticModule,
    NzListModule
  ],
  providers: [
    PeriodTaskApiService,
    BirefApiService,
    PeriodicTaskDetailResolver,
  ]
})
export class PeroidicTaskModule { }
